package entity.user;

import java.util.List;
import java.util.Date;

public class User {

	/**
	 * 序列化
	 */
	private static final long serialVersionUID = 1L;

	/**
	 * 后台管理员主键
	 */
	private Integer userManagerId;

	/**
	 * 登录名
	 */
	private String loginName;

	/**
	 * 登录密码
	 */
	private String loginPwd;

	/**
	 * 工号
	 */
	private String jobNumber;

	/**
	 * 真实名称
	 */
	private String realName;

	/**
	 * 性别
	 */
	private Integer sex;

	/**
	 * 电话
	 */
	private String phone;

	/**
	 * 头像地址
	 */
	private String avatar;

	/**
	 * 是否禁用 0禁用 1启用
	 */
	private Integer enable;

	/**
	 * 是否离职 1 在职 0 离职
	 */
	private Integer status;

	/**
	 * 是否激活 1：已经激活 0：未激活
	 */
	private Integer isActive;

	/**
	 * 创建者
	 */
	private Integer creator;

	/**
	 * 修改者
	 */
	private Integer operator;

	/**
	 * 创建时间
	 */
	private Date createTime;

	/**
	 * 修改时间
	 */
	private Date updateTime;

	/**
	 * 是否删除 0：否 1：是
	 */
	private Integer deleted;

	/**
	 * 版本号
	 */
	private Integer version;

	public void setUserManagerId(Integer userManagerId) { 
		this.userManagerId = userManagerId;
	}
	
	public Integer getUserManagerId() { 
		return userManagerId;
	}

	public void setLoginName(String loginName) { 
		this.loginName = loginName;
	}
	
	public String getLoginName() { 
		return loginName;
	}

	public void setLoginPwd(String loginPwd) { 
		this.loginPwd = loginPwd;
	}
	
	public String getLoginPwd() { 
		return loginPwd;
	}

	public void setJobNumber(String jobNumber) { 
		this.jobNumber = jobNumber;
	}
	
	public String getJobNumber() { 
		return jobNumber;
	}

	public void setRealName(String realName) { 
		this.realName = realName;
	}
	
	public String getRealName() { 
		return realName;
	}

	public void setSex(Integer sex) { 
		this.sex = sex;
	}
	
	public Integer getSex() { 
		return sex;
	}

	public void setPhone(String phone) { 
		this.phone = phone;
	}
	
	public String getPhone() { 
		return phone;
	}

	public void setAvatar(String avatar) { 
		this.avatar = avatar;
	}
	
	public String getAvatar() { 
		return avatar;
	}

	public void setEnable(Integer enable) { 
		this.enable = enable;
	}
	
	public Integer getEnable() { 
		return enable;
	}

	public void setStatus(Integer status) { 
		this.status = status;
	}
	
	public Integer getStatus() { 
		return status;
	}

	public void setIsActive(Integer isActive) { 
		this.isActive = isActive;
	}
	
	public Integer getIsActive() { 
		return isActive;
	}

	public void setCreator(Integer creator) { 
		this.creator = creator;
	}
	
	public Integer getCreator() { 
		return creator;
	}

	public void setOperator(Integer operator) { 
		this.operator = operator;
	}
	
	public Integer getOperator() { 
		return operator;
	}

	public void setCreateTime(Date createTime) { 
		this.createTime = createTime;
	}
	
	public Date getCreateTime() { 
		return createTime;
	}

	public void setUpdateTime(Date updateTime) { 
		this.updateTime = updateTime;
	}
	
	public Date getUpdateTime() { 
		return updateTime;
	}

	public void setDeleted(Integer deleted) { 
		this.deleted = deleted;
	}
	
	public Integer getDeleted() { 
		return deleted;
	}

	public void setVersion(Integer version) { 
		this.version = version;
	}
	
	public Integer getVersion() { 
		return version;
	}

	@Override
	public String toString() {
		return "UserEntity {" +
			"userManagerId = " + userManagerId + 
			", loginName = " + loginName + 
			", loginPwd = " + loginPwd + 
			", jobNumber = " + jobNumber + 
			", realName = " + realName + 
			", sex = " + sex + 
			", phone = " + phone + 
			", avatar = " + avatar + 
			", enable = " + enable + 
			", status = " + status + 
			", isActive = " + isActive + 
			", creator = " + creator + 
			", operator = " + operator + 
			", createTime = " + createTime + 
			", updateTime = " + updateTime + 
			", deleted = " + deleted + 
			", version = " + version + 
			"} " + super.toString();
	}
}
